The Istanbul release introduces some very exciting features for APIs and Authentication. This post will bring you up to speed on what’s new, and we’ll follow up with more detailed posts about individual features in the coming days/weeks. New Inbound OAuth 2.0 Features Have you ever tried to build an app that integrates with ServiceNow, only to find that you couldn’t issue API calls on behalf of a specific user unless that user had credentials stored locally in the instance?
The Istanbul release is here and as we do, here is an overview of some of the changes relevant to ServiceNow developer. This will be relatively brief, but in the coming days and weeks expect many posts digging into all of these aspects in detail. Javascript Debugger With Istanbul the JavaScript debugger has returned to the ServiceNow interface, completely rewritten and better than ever! Once again you can debug and step through server-side JavaScript code.
YouTube video: https://youtu.be/3GqFrhQD8MM The Live Coding Team: dave.slusher, ctomasi, josh.nerius In this episode, we begin working with Dave’s Travel Tracker application and integrating with the FlightAware API to get real time status information about commercial airline flights. We do outbound integration with REST Messages and also create a Scripted REST API to accept status information via the FlightAware webhook. Video Index 02:11 - Introduction to Travel Tracker 04:47 - Introduction to FlightAware API 07:27 - Showing the Script Include with API calls 09:38 - Looking at the payload of the Flight Info webhook call 11:27 - Building the Scripted REST API 29:16 - Saving the API information back to the records 48:17 - Registering the Scripted REST endpoint with FlightAware 53:08 - Setting the alert for our flight 58:43 - Closing comments Useful Resources
YouTube video: https://www.youtube.com/watch?v=WNXaNTtaxeI The Live Coding Team: dave.slusher, ctomasi, josh.nerius In this special early morning episode, we continue working with the Service Portal widget for the DoNow application that the members of this group are all working on. The focus this episode is to take the working frame of the widget and give it a little fit and finish to make it look more presentable using CSS. We add count badges, style them and work on styling the text of the widget.
In the developer program, we have a program where on many Fridays a group of us get together and broadcast ourselves working through code problems. If you’d like to get notification of when we go live or post a new episode, you can subscribe to our YouTube Channel. Here is a list of all the shows to date, grouped by subject matter. Note that episodes may contain multiple subjects and may appear in multiple lists.
YouTube video: https://www.youtube.com/watch?v=NyFooBktJNE The Live Coding Team: josh.nerius, dave.slusher, ctomasi In last week’s Live Coding Happy Hour, we picked up where we left off previous week and figured out how to programmatically get an OAuth Access Token from the oauth_credential table for our Bit.ly integration. Video Index 04:04 - Quick recap of what we did last week 06:59 - We want to get the token dynamically 09:13 - Exploring the oauth_credential table 22:16 - We have a working script to retrieve the token!
Did you know that you can enable Multi-Factor Authentication on your Personal Developer Instance in only a few minutes? It is true. We recently published a video that walks through the couple of simple steps. It breaks down to this: Log in to your developer instance (or request one at the Developer Portal if you don’t already have one) Enable the Integration - Multifactor Authentication plugin on your instance. Go to the Multi-Factor Authentication properties and enable it.
Last week, I attended the Integrate 2016 + API:World Conference & Expo (and Hackathon!) in San Jose. I met some great people, learned about some pretty interesting APIs and Integration products, and as a guy who spent his first several years with the ServiceNow platform working on APIs and building integrations, it was great getting to geek out on a subject I’ve grown to love. Hackathon I spent Saturday/Sunday hacking on the HPE Haven Sentiment API, meeting other developers, and was thoroughly impressed by the resulting hackathon projects.
When we left Part 2 of this series, I had added an inbound email action to create GTD actions from forwarded emails. As this development project was always intended to be a demo tool as well, when it came time for us to do demos developing Angular Service Portal widgets I looked around for functionality to add. I had already done some experimentation with using ngMaterial to create a card interface for this Helsinki feature webinar so I decided to bring a similar interface into DoNow.
I know it’s late in the day, but I couldn’t pass up the opportunity to blog about International Talk Like a Pirate Day. In this quick tutorial, we’ll create a simple scoped integration app that uses ARRPI, the Talk like a Pirate translation API. I’ve already created a skeleton (arrrrrr, see what I did there?) scoped app where I’ll write my code, and I’ll assume you know how to do the same (if not, check out Building a ServiceNow Application on the Developer Portal).